package com.magiccompass.alipay.barcode.util;

import java.math.BigDecimal;

public class DecimalUtil {
	public static BigDecimal createBigDecimalFromString(String inputStr){
		BigDecimal bd;
		if(inputStr == null){
			bd = new BigDecimal(0);
		}else{
			bd = new BigDecimal(inputStr);
		}
		return bd;
	}
}
